package pers.xx.sbm.dao;

import org.springframework.stereotype.Repository;
import pers.xx.sbm.entity.ResidencePermitMiddle;

import java.util.List;

@Repository
public interface ResidencePermitMiddleMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(ResidencePermitMiddle record);

    /**
     * @param list 批量插入列表
     * @description 批量插入
     * @author XieXing
     * @date 2021/6/2 13:58
     */
    int insertBatch(List<ResidencePermitMiddle> list);

    int insertSelective(ResidencePermitMiddle record);

    ResidencePermitMiddle selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(ResidencePermitMiddle record);

    int updateByPrimaryKey(ResidencePermitMiddle record);
}